type golang.org/x/crypto/sha3.state
26 uses
golang.org/x/crypto/sha3 (current package)
hashes.go#L22: return &state{rate: 144, outputLen: 28, dsbyte: 0x06}
hashes.go#L32: return &state{rate: 136, outputLen: 32, dsbyte: 0x06}
hashes.go#L42: return &state{rate: 104, outputLen: 48, dsbyte: 0x06}
hashes.go#L52: return &state{rate: 72, outputLen: 64, dsbyte: 0x06}
hashes.go#L59: func NewLegacyKeccak256() hash.Hash { return &state{rate: 136, outputLen: 32, dsbyte: 0x01} }
hashes.go#L65: func NewLegacyKeccak512() hash.Hash { return &state{rate: 72, outputLen: 64, dsbyte: 0x01} }
sha3.go#L23: type state struct {
sha3.go#L51: func (d *state) BlockSize() int { return d.rate }
sha3.go#L54: func (d *state) Size() int { return d.outputLen }
sha3.go#L58: func (d *state) Reset() {
sha3.go#L67: func (d *state) clone() *state {
sha3.go#L80: func (d *state) permute() {
sha3.go#L99: func (d *state) padAndPermute(dsbyte byte) {
sha3.go#L126: func (d *state) Write(p []byte) (written int, err error) {
sha3.go#L161: func (d *state) Read(out []byte) (n int, err error) {
sha3.go#L186: func (d *state) Sum(in []byte) []byte {
shake.go#L44: *state // SHA-3 state context and Read/Write operations
shake.go#L85: c := cshakeState{state: &state{rate: rate, dsbyte: dsbyte}}
shake.go#L111: func (c *state) Clone() ShakeHash {
shake.go#L122: return &state{rate: rate128, dsbyte: dsbyteShake}
shake.go#L132: return &state{rate: rate256, dsbyte: dsbyteShake}
xor_generic.go#L12: func xorInGeneric(d *state, buf []byte) {
xor_generic.go#L23: func copyOutGeneric(d *state, b []byte) {
xor_unaligned.go#L22: func xorInUnaligned(d *state, buf []byte) {
xor_unaligned.go#L58: func copyOutUnaligned(d *state, buf []byte) {